using System;
using Machine.Migrations;

public class DataToWorkWith : SimpleMigration
{
	private Guid customerId = new Guid("3B274BC0-EEBD-4F40-8260-E75AD0000E6D");

	public override void Up()
	{
		Database.ExecuteNonQuery(string.Format("INSERT INTO Customers (Id, CompanyName, IsActive, Phone) Values ('{0}','Bob Inc',1,'111-222-3333')", customerId));
		Database.ExecuteNonQuery(string.Format("INSERT INTO Contacts (CustomerId, Name) Values ('{0}','Bob')", customerId));
	}

	public override void Down()
	{
		throw new NotImplementedException();
	}
}